<?php
$this->breadcrumbs=array(
	'Logs'=>array('admin'),
	$model->folder->name,
);

$this->menu=array(
	array('label'=>'Manage Log', 'url'=>array('admin')),
);

$this->pageHeader = 'View Log #'.$model->id.' on '. $model->folder->name;
?>

<h1></h1>

<?php
 $model->output = '<pre>'.$model->output.'</pre>';
 $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		array(
			'label'=>'Folder',
			'type'=>'raw',
			'value'=>$model->folder->name,
		),
		'path',
		'action',
		array(
			'label'=>'User',
			'type'=>'raw',
			'value'=>OpenIdUser::Model()->FindByPk($model->user_id)->email ,
		),
		'time',
		array(
			'label'=>'Output',
			'type'=>'raw',
			'value'=>CHtml::decode($model->output),
		),
	),
)); ?>
